package 设计模式.第1部分.第9章_原型模式.v1;

public class Resume {
	private String name;
	private String sex;
	private String age;
	private String timeArea;
	private String company;

	public Resume(String name) {
		this.name = name;
	}

	public void DisPlay() {
		System.out.println(this.toString());
	}

	public void SetPersonalInfo(String sex, String age) {
		this.sex = sex;
		this.age = age;
	}

	public void SetWorkExperience(String timeArea, String company) {
		this.timeArea = timeArea;
		this.company = company;
	}

	@Override
	public String toString() {
		return "Resume [name=" + name + ", sex=" + sex + ", age=" + age + ", timeArea=" + timeArea + ", company="
				+ company + "]";
	}

}
